package com.cros.pruebas;


import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;

public class EnumTest {
    Day day;
    
    public EnumTest(Day day) {
        this.day = day;
    }
    
    public void tellItLikeItIs() {
        switch (day) {
            case MONDAY:
                System.out.println("Mondays are bad.");
                break;
                    
            case FRIDAY:
                System.out.println("Fridays are better.");
                break;
                         
            case SATURDAY: case SUNDAY:
                System.out.println("Weekends are best.");
                break;
                        
            default:
                System.out.println("Midweek days are so-so.");
                break;
        }
    }
    
    public static void main(String[] args) {
    	String vec[]={"8","3","5"};
    	
    	Arrays.sort(vec);
    	for(int i=0;i<vec.length;i++){
    		System.out.println("->"+vec[i]);
    	}
    	
    	System.out.println("File Separator:"+File.pathSeparator);
    	System.out.println("File Separator:"+File.separator);
    	File f[]= File.listRoots();
    	
    	for(int i=0;i<f.length;i++){
    		
    	}

    
    }
}